package dynamic.mybatisplus.extension.plugins.pagination.dialects;

public class GBase8sDialect implements IDialect{
    @Override
    public DialectModel buildPaginationSql(String originalSql, long offset, long limit) {
        StringBuilder sql = new StringBuilder(originalSql)
                .insert(6, " SKIP " + offset + " FIRST " + limit);
        return new DialectModel(sql.toString());
    }
}
